import AreaRainfallView from "./area-rainfall.mjs";
import D3ExampleView from "./d3-example.mjs";
import LogAnalyzeView from "./log-analyze.mjs";
import { defineIndexRouteView } from "@/routers/common-index.mjs";
import { combRouter } from "@/routers/tools.mjs";

/**
 * @type {DefineRoute[]}
 */
const epIndexRoute = [
  combRouter(AreaRainfallView, {
    name: "ep.rainfall",
    url: "/rainfall",
  }),
  combRouter(D3ExampleView, {
    name: "ep.d3-example",
    url: "/d3-example",
  }),
  combRouter(LogAnalyzeView, {
    name: "ep.log-analyze",
    url: "/log-analyze",
  }),
];

const EpView = defineIndexRouteView(epIndexRoute);

export { EpView as default, epIndexRoute as modRoutingEP };
